package il.ac.bgu.cs.heuristics.utils;

import java.util.Arrays;
import java.util.List;

/**
 * 
 * @author Ronen Pinko
 * 
 */
public class Tuple<T> {

	private final List<T> list;

	public Tuple(T... elements) {
		list = Arrays.asList(elements);
	}

	public T get(int i) {
		return list.get(i);
	}

	public int size() {
		return list.size();
	}

}
